

let {request_3031,request_3001} = require('../../utils/https.js')


module.exports = {
  // 查询企业是否流转
  getEnterpriseContacts:(khbh)=>{
    return request_3001({
      url: `/circulation/getEnterpriseContacts?khbh=${khbh}`,
      method: "GET",
    })
  },
  
  // 企业列表
  searchQy : (qymc) => {
    return request_3001({
      url: `/circulation/searchQy?qymc=${qymc}`,
      method: "GET",
     
    })
  },
  
  searchDJ : (jgmc) => {

    return request_3001({
      url: `/circulation/searchDJ?jgmc=${jgmc}`,
      method: "GET",
     
    })
  },
  contactsFws:(data)=>{
    return request_3001({
      url: `/circulation/contactsFws`,
      method: "POST",
      data
    })
  },
  // 关联企业
  
  contactsEnterprise:(data)=>{
    return request_3001({
      url: `/circulation/insertNewProject/contactsEnterprise`,
      method: "POST",
      data
    })
  },
  // 拓客放弃
  
  torkAbandon:(data)=>{
    return request_3001({
      url: `/circulation/torkAbandon`,
      method: "POST",
      data
    })
  },
  
   // 跟进放弃
  
   followAbandon:(data)=>{
    return request_3001({
      url: `/circulation/followAbandon`,
      method: "POST",
      data
    })
  },
  // 钉钉通知
  
  DDNotify:(data)=>{
    return request_3001({
      url: `/circulation/dd/sendNotify`,
      method: "POST",
      data
    })
  },
  getProjectDetail:(xmbh,rwr)=>{
    return request_3001({
      url: `/circulation/projectDetail?xmbh=${xmbh}&rwr=${rwr}`,
      method: "GET",
    })
  },

getEnterprise : (khbh) => {

  return request_3001({
    url: `/circulation/projectDetail/enterprise?khbh=${khbh}`,
    method: "GET",
   
  })
},
getEnterpriselisInfo : (qymc) => {

  return request_3001({
    url: `/circulation/isEnter?qymc=${qymc}`,
    method: "GET",
   
  })
},
getrequirement : (xmbh) => {

  return request_3001({
    url: `/circulation/projectDetail/demand?xmbh=${xmbh}`,
    method: "GET",
   
  })
},
getscience : (xmbh) => {

  return request_3001({
    url: `/circulation/projectDetail/science?xmbh=${xmbh}`,
    method: "GET",
   
  })
},
getRequire:(xmbh,xmfl)=>{
  return request_3001({
    url: `/circulation/inspet?xmbh=${xmbh}&xmfl=${xmfl}`,
    method: "GET",
   
  })
},
// 领取项目
pullProject: (data) => {
  console.log(data);
  return request_3001({
    url: "/circulation/projectReceive",
    method: "POST",
    data,
  });
},
// 获取落地
getGround:(xmbh,xmfl)=>{
  return request_3001({
    url: `/circulation/getGround?xmbh=${xmbh}&xmfl=${xmfl}`,
    method: "GET",
   
  })
},
// 复盘
addRecover: (data) => {
  console.log(data);
  return request_3001({
    url: "/circulation/addRecover",
    method: "POST",
    data,
  });
},
getRecover: (xmbh) => { 
  return request_3001({
    url: `/circulation/getRecover?xmbh=${xmbh}&xmzname=${xmzname}`,
    method: "GET",
 
  });
},
getRecoverList: (xmbh) => { 
  return request_3001({
    url: `/circulation/getRecoverList?xmbh=${xmbh}`,
    method: "GET",
 
  });
},
}